package com.neusoft.bizcore.activiti.constants;

public final class BizcoreActivitiConstants {

    /** 请求参数异常 */
    public static final String REQUEST_PARAMETER_INVALID = "工作流异常 [%s]";

    public static final String PROCESS_EXIST = "流程不存在";

    public static final String PROCESS_NOT_PASS_REASON = "流程不通过";

    public static final String PROCESS_REVOKE_REASON = "撤销流程";

    public static final String PROCESS_USER_EXIST = "当前用户不存在";

    public static final String PROCESS_NOT_DELETE = "流程已不是初始化状态,不能删除!";

    public static final String PROCESS_CONDITIONS_NOT = "流程流转条件不符合,不能流转!";

    public static final String WORK_ORDER_EXIST = "工单不存在";

    public static final String TASK_NOT_EXIST = "任务不存在";

    public static final String SOURCE_REPLACE = "xmlns:camunda=\\\"http://camunda.org/schema/1.0/bpmn";

    public static final String OLD_REPLACE = "xmlns:activiti=\\\"http://activiti.org/bpmn";

    public static final String PROCESS_NOT_DELETE_RUNING = "有正在运行的流程，不能删除";

    public static final String START_USER_INFO_KEY = "AC_USER_INFO";

    public static final String START_USER_CODE_KEY = "actCreateUser";

    public static final String START_TYPE_KEY = "AC_TYPE";

    public static final String INTERNAL_PASSFLAG = "passFlag";

    public static final String INTERNAL_DISPATCHUSERLIST = "dispatchUserList";

    public static final String VARIABLE_TYPE_BRANCH = "branch";

    public static final String VARIABLE_TYPE_FORM = "form";
    //设置候选用户关键字
    public static final String INTERNAL_CANDIDATEUSERS = "candidateUsers";
    //设置候选角色关键字
    public static final String INTERNAL_CANDIDATEGROUPS = "candidateGroups";
    //流程图中线上条件的逻辑操作符
    public final static String[] SEQUENCE_FLOW_LOGICOPTIONS = {"&&", "||" };
    //流程图中线上条件的运算操作符
    public final static String[] SEQUENCE_FLOW_OPERATORALLOPTIONS = {"==", ">=", "<=", "!=", ">", "<" };

    public static final String PROCESS_CODE_NOT_REPEAT = "同一工单类型不能重复";

    public static final String DATE_SYMBOL = "${DATE}";

    public static final String WORK_ORDER_MODEL_CODE_KEY = "WN";

    public static final String PROCEE_END_NODE_NAME = "结束";

    public static final String DELETE_BTN_KEY = "delete";

    public static final String REVOKE_BTN_KEY = "revoke";

    public static final String EDIT_BTN_KEY = "edit";

    public static final String VIEW_BTN_KEY = "view";

    public static final String HANDLE_BTN_KEY = "handle";

    public static final String APPROVE_GROUP_KEY = "candidate";

    public static final String APPROVE_USER_KEY = "participant";

    public static final String APPROVE_ASSIGNEE_KEY = "assignee";

    public static final String TASK_TYPR_TODO = "todo";

    public static final String TASK_TYPR_ME = "me";

    public static final String TASK_TYPR_DONE = "done";

    public static final String WORK_ORDER_STATUS_TEMPORARY_NAME = "暂存";

    public static final String WORK_ORDER_STATUS_RUNNING_NAME = "运行中";

    public static final String WORK_ORDER_STATUS_REVOKED_NAME = "已撤销";

    public static final String WORK_ORDER_STATUS_FINISH_NAME = "结束";
}
